<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gd</Name>
        <Homepage>http://www.libgd.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>as-is</License>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>A fast library for creating graphic images</Summary>
        <Description>The gd graphics library allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and to write out the result as a PNG or JPEG file. This is particularly useful in Web applications, where PNG and JPEG are two of the formats accepted for inline images by most browsers. Note that gd is not a paint program.</Description>
        <Archive sha1sum="67779817d7aecb94594c43ace949af350ca1df7f" type="tarxz">https://github.com/libgd/libgd/releases/download/gd-2.2.4/libgd-2.2.4.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>libvpx-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch>gd-2.1.1-libvpx-1.4.0.patch</Patch> -->
            <Patch level="1">gd-2.1.0-multilib.patch</Patch>
            <Patch level="1">gd-2.2.3-tests.patch</Patch>
            <Patch level="1">gd-2.2.4-upstream.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>gd</Name>
        <RuntimeDependencies>
            <Dependency>fontconfig</Dependency>
            <Dependency>tiff</Dependency>
            <Dependency>libvpx</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>libpng</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/gd</Path>
        </Files>
    </Package>

    <Package>
        <Name>gd-devel</Name>
        <Summary>Development files for gd</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gd</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="executable">/usr/bin/gdlib-config</Path>
        </Files>
    </Package>

    <Package>
        <Name>gd-docs</Name>
        <Summary>Documents for gd</Summary>
        <Files>
            <Path fileType="doc">/usr/share/doc/gd/html</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-15</Date>
            <Version>2.2.4</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-12</Date>
            <Version>2.1.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-08-02</Date>
            <Version>2.1.1</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
